s6 = '''
foo
bar
'''

print(f'{s<caret>6.upper()}')